package com.hsqyz.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/")
public class HelloController {

    @RequestMapping("/hello")
    public String helle(){
        return "Hello World";
    }

    @RequestMapping("/world")
    public String world(){
        return "你好 世界";
    }

}
